﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="Admin_Supplier_Default" %>

<asp:Content ID="Content2" ContentPlaceHolderID="pnlMain" runat="Server">
    <br />
    <a href="addedit.aspx">Add Supplier</a><br />
    <p class="h2">
        Supplier</p>
    <div class="divGrid">
        <asp:GridView ID="gvSupplier" runat="server" AutoGenerateColumns="False" EmptyDataText="No Record Found"
            DataKeyNames="SupplierID" OnRowDataBound="gvSupplier_RowDataBound" OnRowDeleted="gvSupplier_RowDeleted"
            OnRowDeleting="gvSupplier_RowDeleting">
            <Columns>
                <asp:BoundField DataField="SupplierName" HeaderText="Supplier Name" />
                <asp:BoundField DataField="EmailAddress" HeaderText="Email Address" />
                <asp:BoundField DataField="PayOnArrival" HeaderText="Pay On Arrival" />
                <asp:BoundField DataField="DisplayName" HeaderText="Display Name" />
                <asp:BoundField DataField="BookingThreshold" HeaderText="Booking Threshold" />
                <asp:BoundField DataField="GracePeriodMins" HeaderText="Grace Period Mins" />
                <asp:BoundField DataField="Navigator" HeaderText="Navigator" />
                <asp:BoundField DataField="NavRentPrice" HeaderText="Nav Rent Price" DataFormatString="{0:##0.00}" />
                <asp:BoundField DataField="NavRentSellPrice" HeaderText="Nav Rent Sell Price" DataFormatString="{0:##0.00}" />
                <asp:HyperLinkField DataNavigateUrlFields="SupplierID" DataNavigateUrlFormatString="addedit.aspx?id={0}"
                    Text="Edit" ItemStyle-Width="30" />
                <asp:CommandField ShowDeleteButton="True" ItemStyle-Width="50" />
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
